using Microsoft.Extensions.DependencyInjection;

namespace JGSY.CourseManagement.Application.Modules
{
    /// <summary>
    /// 模块接口，定义应用程序模块的初始化逻辑
    /// </summary>
    public interface IModule
    {
        /// <summary>
        /// 初始化模块并注册服务
        /// </summary>
        /// <param name="services">服务集合，用于注册模块提供的服务</param>
        void Initialize(IServiceCollection services);
    }
}